package net.zjitc.lib.Share.wait;

public class Consumer implements Runnable {
    Quene q;

    public Consumer(Quene q) {
        this.q = q;
//         new Thread(this, "Consumer");
    }

    public void run() {
        while (true)
        q.get();
    }

}
/**
 * @Override public void run() {
 * while (true) {
 * q.get();
 * }
 * }
 */
